package icu.youcompleteme.stock.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * projectName: demo4springcloudalibaba
 * className: StockController
 * description: 类描述
 *
 * @author : chengjiang@myjava.youcompleteme.icu
 * @since : 2022/11/08
 */

@RestController
@RequestMapping("/stock")
public class StockController {

    @GetMapping("/reduce")
    public String reduce(){
        return "库存减一";
    }
}
